package Factory;

public class PanelSmallSamsung implements PanelBehavior, ControllerBehavior{
    private String name = "PanelSmallSamsung";
    private String info;
    
    @Override
    public void on() {
        info = "ON"; 
    }

    @Override
    public void off() {
        info = "OFF";  
    }
    
    public String getInfo(){
        return info;
    }

    @Override
    public void getPanelName() {
        System.out.println(name);
        
    }

    @Override
    public void checkInfo(String info) {
       if (info != "OK") getInfo();
        
    }
    
    
}
